﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FDStudio.Core.Entities
{
    /*
     CreatedOn: 2018-01-30
     CreatedBy: Jackie Lee(天宇遊龍)
     */
    /// <summary>
    /// 公共实体
    /// </summary>
    public abstract class CommonEntity : ModifiedEntity, ICommEntity
    {
        public CommonEntity()
        {
            InitComm(0);
        }

        protected void InitComm(long createdBy)
        {
            CreatedBy = createdBy;
            CreatedOn = DateTime.Now;
            ModifiedBy = 0;
            ModifiedOn = null;
        }
    }
}
